package com.zenchn.service.impl;

import com.zenchn.dao.TSysCriticalOperatingLogMapper;
import com.zenchn.dynamic.TSysCriticalOperatingLogDynamicMapper;
import com.zenchn.generic.GenericDao;
import com.zenchn.generic.GenericServiceImpl;
import com.zenchn.model.TSysCriticalOperatingLog;
import com.zenchn.model.TSysCriticalOperatingLogExample;
import com.zenchn.service.CriticalOperatingLogService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import static org.mybatis.dynamic.sql.SqlBuilder.*;
import static com.zenchn.dynamic.TSysCriticalOperatingLogDynamicSqlSupport.*;
/**
 * CriticalOperatingLogServiceImpl：
 * 系统模块关键操作日志实现类
 * @author dingxinfa
 * @date 2020-04-16 13:17
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class CriticalOperatingLogServiceImpl  extends GenericServiceImpl<TSysCriticalOperatingLog,String, TSysCriticalOperatingLogExample> implements CriticalOperatingLogService {


    @Resource
    private TSysCriticalOperatingLogMapper criticalOperatingLogMapper;

    @Resource
    private TSysCriticalOperatingLogDynamicMapper criticalOperatingLogDynamicMapper;
    @Override
    public GenericDao<TSysCriticalOperatingLog, String, TSysCriticalOperatingLogExample> getDao() {
        return criticalOperatingLogMapper;
    }
}
